package com.xysoft.admin.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Component;

@Component
public interface IAdministratorService extends IBaseService{
	/**
	 * 获取后台用户列表.
	 */
	public String get(HttpServletRequest request, HttpSession session);
	
	/**
	 * 获取权限列表.
	 */
	public String getAction(HttpServletRequest request, HttpSession session);
	
	/**
	 * 获取角色列表.
	 */
	public String getRole(HttpServletRequest request, HttpSession session);
	
	/**
	 * 保存权限配置.
	 */
	public Map<String, Object> config(HttpServletRequest request, HttpSession session);
	
	/**
	 * 获取权限配置.
	 */
	public Map<String, Object> getAuto(HttpServletRequest request, HttpSession session);
	
	/**
	 * 获取角色类型.
	 */
	public String getSystemType(HttpServletRequest request, HttpSession session);
	
	/**
	 * 获取组织选项.
	 */
	public String getOrgan(HttpServletRequest request, HttpSession session);
	
	/**
	 * 添加或修改后台用户.
	 */
	public Map<String, Object> addOrModify(HttpServletRequest request, HttpSession session);
	
	/**
	 * 删除后台用户.
	 */
	public Map<String, Object> remove(HttpServletRequest request, HttpSession session);
	
	/**
	 * 上传图片.
	 */
	public Map<String, Object> pic(HttpServletRequest request, HttpSession session);
}
